<?php

namespace App\Service\User\v1_1_4;

use App\Model\Setting\SettingUserQuestion;
use App\Model\UserProfile;
use App\Service\BaseService;

/**
 * 专访问题列表
 */
class QuestionListSevice extends BaseService
{
    public function handle()
    {
        $userId = $this->getUserId();
        $profile = UserProfile::getProfile($userId);
        $ret['list'] = SettingUserQuestion::getList($profile->gender);
        return $ret;
    }
}
